package com.alone.mybatisplus.datascope.annotation;

import com.alone.mybatisplus.datascope.conts.DataScopeModel;

import java.lang.annotation.*;

/**
 * 防止多模块联合查询时冲突，以MainScope标记的模块为主
 *
 * @author Alone
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MainScope {

    DataScopeModel value();

}
